<div class="page-header">
	<h1>Cadastro</h1>
</div>

<div class="row">
	<div class="col-md-4 col-md-offset-4">
		
		<form role="form" action="" method="post">
			<div class="form-group <?php echo isset($this->error['nome']) ? 'has-error' : ''; ?>">
				<?php if (isset($this->error['nome'])): ?>
				<label class="control-label" for="nome"><?php echo current($this->error['nome']); ?></label>
				<?php endif; ?>
				<?php echo $this->form->nome; ?>
			</div>
			<div class="form-group <?php echo isset($this->error['email']) ? 'has-error' : ''; ?>">
				<?php if (isset($this->error['email'])): ?>
				<label class="control-label" for="email"><?php echo current($this->error['email']); ?></label>
				<?php endif; ?>
				<?php echo $this->form->email; ?>
			</div>
			<div class="form-group <?php echo isset($this->error['senha']) ? 'has-error' : ''; ?>">
				<?php if (isset($this->error['senha'])): ?>
				<label class="control-label" for="senha"><?php echo current($this->error['senha']); ?></label>
				<?php endif; ?>
				<?php echo $this->form->senha; ?>
			</div>
			<div class="form-group <?php echo isset($this->error['captcha']) ? 'has-error' : ''; ?>">
				<?php if (isset($this->error['captcha'])): ?>
				<label class="control-label" for="captcha-input"><?php echo current($this->error['captcha']); ?></label>
				<?php endif; ?>
				<?php echo $this->form->captcha; ?>
			</div>
			<button class="btn btn-lg btn-primary btn-block" type="submit">cadastrar</button>
		</form>
		
	</div>
</div>